<template>
    <ul class="news-list">
        <ul>No: {{ id }}</ul>
        <ul>title: {{ title }}</ul>
        <ul>content: {{ content }}</ul>
    </ul>
</template>

<script setup lang="ts" name="Detail">
    defineProps(['id', 'title', 'content'])

</script>

<style scoped>
    .news-list {
        list-style: none;
        padding-left: 20px;
    }
    
    .news-list>li {
        line-height: 30px;
    }
</style>